public class Dog {
    public String name;
    public String color;

    public void barks(){
        System.out.println(name+":汪汪汪----");
    }

    public void wag(){
        System.out.println(name+": 摇尾巴---");
    }
}
